<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@taglib prefix="t" tagdir="/WEB-INF/tags/loginRegister" %>

<c:set var="basePath" value="${pageContext.servletContext.contextPath}"/>
<t:template>
	<span id="welcome">
		<section class="loginform cf">
			<form:form action="${basePath}/bank/ibank/code" commandName="code" method="post">
				<table>
					<tr>
						<td style="width: 140px;"><label for="customerCodeValue">Ievadiet kodu Nr. <form:input path="customerCodeNumber" style="width: 20px; border: 0px; opacity:0.7;" value="${codeNr}" disabled="" /> </label></td>
						<td><form:input path="customerCodeValue" type="password" placeholder="code" />
						</td>
						<td><form:errors path="customerCodeValue" /></td>
					</tr>																																														
					<tr>
						<td><input type="hidden" name="url" value="${url}"/><input type="hidden" name="hash" value="${hash}"/></td>
						<td colspan="2" ><span><a href="${basePath}bank/auth/login">Atpakal</a></span><input type="submit" value="Apstiprināt"></td>
					</tr>
				</table>
			</form:form>
		</section>
	</span>			
</t:template>

